@(proname:String)


<div class="page-sidebar-wrapper">
	<div class="page-sidebar navbar-collapse collapse">
		<ul class="page-sidebar-menu " data-auto-scroll="true" data-slide-speed="200" id="projects">

			<li class="sidebar-toggler-wrapper" style="height: 52px;
				background-color: #2B2A28;">
					<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
				<div class="sidebar-toggler">
				</div>


				<h4 class="platform-title" >转录组分析平台</h4>


					<!-- END SIDEBAR TOGGLER BUTTON -->
			</li>

			<li class="left-height" id="home">
				<a href='@routes.SampleController.home' class="left-a-open">

					<i class='fa fa-database'></i>
					<span class="title">项目总览</span>
					<span class='selected'></span>

				</a>
			</li>


			<li  style="background-color: #2B2A28;
				height: 40px" class="left-project">
				<a>
					<i class="fa fa-arrows"></i>
					<span class="title">管理参考基因组</span>
				</a>
			</li>

			<li class="left-height" id="toSpecies">
				<a href='@routes.SpeciesController.toSpecies()' class="left-a-open">
					<i class="fa fa-upload"></i>
					<span class="title">新增参考基因组</span>
					<span class='selected'></span>
				</a>
			</li>

			<li class="left-height" id="speciesInfo">
				<a href='@routes.SpeciesController.speciesInfo()' class="left-a-open">
					<i class="fa fa-sliders"></i>
					<span class="title">参考基因组一览</span>
					<span class='selected'></span>
				</a>
			</li>

			@if(proname != "") {

				<li style="background-color: #2B2A28;
					height: 40px" class="left-project">
					<a>
						<i class="fa fa-arrows-alt"></i>
						<span class="title">@proname</span>
					</a>
				</li>


@*				<li class="left-height left-project" id="toSE">
					<a href='@routes.SampleController.toSE(proname)' class="left-a-open">
						<i class='fa fa-cloud-upload'></i>
						<span class="title">数据导入(SE)</span>
						<span class='selected'></span>

					</a>
				</li>*@

				<li class="left-height left-project" id="toPE">
					<a href='@routes.SampleController.toPE(proname)' class="left-a-open">
						<i class='fa fa-cloud-upload'></i>
						<span class="title">数据导入(PE)</span>
						<span class='selected'></span>

					</a>
				</li>


				<li class="left-height left-project" id="dataPage">
					<a href='@routes.SampleController.dataPage(proname) ' class="left-a-open">
						<i class='fa fa-cloud'></i>
						<span class="title">样品管理</span>
						<span class='selected'></span>
					</a>
				</li>

				<li class="left-height left-project" id="taskPage">
					<a href='@routes.TaskController.taskPage(proname)' class="left-a-open">
						<i class='fa fa-columns'></i>
						<span class="title">RNA定量分析</span>
						<span class='selected'></span>
					</a>
				</li>

				<li class="left-height left-project" id="taskData">
					<a href='@routes.TaskController.taskData(proname)' class="left-a-open">
						<i class='fa fa-th'></i>
						<span class="title">结果管理</span>
						<span class='selected'></span>
					</a>
				</li>

			}

		</ul>
	</div>
</div>

<script>
		$(function () {
			var href = window.location.href;
			var array = href.split("/");
			var code = array[array.length - 1];
			if (code.indexOf("?") != -1) {
				var id = code.split("?")[0];
				$("#" + id).addClass('active')
			} else {
				$("#" + code).addClass('active')
			}

		})

</script>








